// 用于请求数据的方法
import instorageModel from "../../models/instorageModel"
// 模板
export const setStorageData =()=>async dispatch=>{
  let data = await (await instorageModel.getInStorage()).data.data
  console.log(data)
  dispatch({
    type:'setStorageData',
    data
  })
}